package com.hzit.service;

import com.hzit.entity.Student;
import com.hzit.util.PageResult;
import com.hzit.vo.StudentVo;

import java.util.List;

public interface StudentService {
	List<Student> findAll();

	PageResult<Student> findAll(int page, int pageSize);

	PageResult<Student> findAll(int page, int pageSize, StudentVo vo);

	void insert(Student student);

	List<Student> list();

	public List<Student> list2();

	void add(Student student);

	Student findById(int sid);

	void update(Student student);

	void delete(int sid);
}
